package com.server.cn.service.impl;

import com.model.cn.entity.Item;
import com.model.cn.mapper.ItemMapper;
import com.server.cn.service.ItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ItemServiceImpl implements ItemService {

    @Autowired
    private ItemMapper itemMapper;

    @Override
    public Item selectByItemCode(String itemCode) {
        return itemMapper.selectByCode(itemCode);
    }
}
